package com.digtime.bridge;

/**
 * @author: kaiyi
 * @Date 2020/11/22 14:43
 */
public class Circle extends ShapeAbstract{

    private int x, y, radius;

    public Circle(int x, int y, int radius, DrawAPI drawAPI){
        super(drawAPI);
        this.x = x;
        this.y = y;
        this.radius = radius;

    }
    @Override
    public void draw() {
        drawAPI.drawCircle(radius, x, y);
    }
}
